package com.ponhu.ea2.vo;

import com.ponhu.ea2.dto.OperationRecordContentDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Wang
 * @date 2021/10/22 7:04 下午
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "操作记录日志VO")
public class OperationRecordLogsVO implements Serializable {
    private static final long serialVersionUID = 5287425083551143568L;

    @ApiModelProperty("日志类型(0:表字段变更类型；1:文本日志类型)")
    private Integer logType;
    @ApiModelProperty("记录ID")
    private Long recordId;
    @ApiModelProperty("操作人ID")
    private Long operatorId;
    @ApiModelProperty("操作人")
    private String operator;
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("文本类型内容")
    private String textContent;

    @ApiModelProperty("表字段变更内容")
    private List<OperationRecordContentDto> contentList;
}
